/************************************************************
 * Copyright (c) 2010 Georg Fritzsche
 *
 * This project is licensed under the "New BSD License": 
 * http://www.opensource.org/licenses/bsd-license.php
 ***********************************************************/

#ifndef TRIGGER_UTIL_H
#define TRIGGER_UTIL_H

#include <iostream>
#include <string>

#define UNUSED_VARIABLE(x) &(x)

#define trace(expr) do { std::cout << expr << std::endl; } while(0)

#define tracei(expr) do { std::cout << expr << std::endl; } while(0)
#define tracee(expr) do { std::cerr << expr << std::endl; } while(0)

#ifdef DEBUG
#  define dtrace(expr) do { std::cerr << expr << std::endl; } while(0)
#else
#  define dtrace(expr) 
#endif

#endif
